// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期：2024-11-15 16:59:17
// 生成路径: internal/app/system/model/entity/withdraw_records.go
// 生成人：周
// desc:余额提现记录
// company:云南奇讯科技有限公司
// ==========================================================================

package do

import (
	"github.com/gogf/gf/v2/os/gtime"
	"github.com/gogf/gf/v2/util/gmeta"
)

// WithdrawRecords is the golang structure for table withdraw_records.
type WithdrawRecords struct {
	gmeta.Meta `orm:"table:withdraw_records, do:true"`
	Id         interface{} `orm:"id,primary" json:"id"`          // 提现申请记录ID
	Userid     interface{} `orm:"userid" json:"userid"`          // 用户ID
	Money      interface{} `orm:"money" json:"money"`            // 提现金额
	Balance    interface{} `orm:"balance" json:"balance"`        // 当前余额
	Status     interface{} `orm:"status" json:"status"`          // 提现状态：1-待审核  2-已到账 3-审核失败
	Reason     interface{} `orm:"reason" json:"reason"`          // 提现失败原因
	SubmitTime *gtime.Time `orm:"submit_time" json:"submitTime"` // 提交审核时间
	ArriveTime *gtime.Time `orm:"arrive_time" json:"arriveTime"` // 到账时间
	CreatedAt  *gtime.Time `orm:"created_at" json:"createdAt"`   //
	UpdatedAt  *gtime.Time `orm:"updated_at" json:"updatedAt"`   //
}
